import request from '@/utils/request'
import QS from 'qs'
export function login(data) {
  return request({
    url: '/login',
    method: 'post',
    data:QS.stringify(data)
  })
}

export function getInfo(data) {
  return request({
    url: '/user/getInfo',
    method: 'post',
    data:QS.stringify(data)
  })
}

export function logout(data) {
  return request({
    url: '/logout',
    method: 'post',
    data:QS.stringify(data)
  })
}

